package com.ybkj.daijia.server.model.content;

import java.io.Serializable;


/**
 * 基础类. Created by shine on 2017/2/5.
 */
public class Base implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 4053354756702459357L;

    /**
     * 全局唯一主键.
     */
    protected Long id;

    /**
     * 创建时间.
     */
    protected Long created;

    /**
     * 修改时间.
     */
    protected Long updated;

    /**
     * 修改版本号.
     */
    protected Integer version;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCreated() {
        return created;
    }

    public void setCreated(Long created) {
        this.created = created;
    }

    public Long getUpdated() {
        return updated;
    }

    public void setUpdated(Long updated) {
        this.updated = updated;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

}
